import request from '@/utils/request'
// 查询检测点列表
export function list(query) {
  return request({
    url: '/ai_smart/model_manage/list',
    method: 'get',
    params: query
  })
}

// 删除单个检测点
export function delModel(data) {
    return request({
      url: '/ai_smart/model_manage/delete',
      method: 'delete',
      data: data
    })
}

// 设置检测点为当前检测点
export function set_current(data) {
    return request({
      url: '/ai_smart/model_manage/set_current',
      method: 'post',
      data: data
    })
}

// 更新模型描述信息
export function updateModelDesc(data){
  return request({
    url: '/ai_smart/model_manage/update_desc',
    method: 'post',
    data: data
  })
}